package com.dh.project.service.impl;

import com.baomidou.framework.service.impl.SuperServiceImpl;
import com.dh.project.mapper.EmployeeInfoMapper;
import com.dh.project.model.EmployeeInfo;
import com.dh.project.model.PageModel;
import com.dh.project.service.EmployeeInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by admin on 2017/3/29.
 */
@Service
public class EmployeeInfoImpl extends SuperServiceImpl<EmployeeInfoMapper,EmployeeInfo> implements EmployeeInfoService {

    @Autowired
    private EmployeeInfoMapper employeeInfoMapper;

    @Override
    public List<EmployeeInfo> selectEmployeeInfoListByMap(Map map) {
        return employeeInfoMapper.selectEmployeeInfoListByMap(map);
    }

    @Override
    public PageModel selectEmployeeInfoListByMapCount(Map map) {
        return employeeInfoMapper.selectEmployeeInfoListByMapCount(map);
    }
}
